package cn.wolfcode.education.mapper;

import cn.wolfcode.education.domain.Collections;
import cn.wolfcode.education.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionsMapper {

    int insert(Collections record);

    Collections selectByPrimaryKey(Long id);

    List<Collections> selectAll();

    int updateByPrimaryKey(Collections record);

    List<Collections> queryForList(QueryObject qo);

    Integer queryForCount(QueryObject qo);

    void auditCollections(@Param("id") Long id, @Param("statusEmployeeId") Long statusEmployeeId);

    void unauditCollections(Long id);
}